package com.designpattern.builder;

/**
 * 毒蛇
 */
public class PoisonSnakeBuilder extends SnakeBuilder {

    Snake animal = new Snake();

    void head() {
        animal.addPart("尖尖的脑袋");
    }

    void eye() {
        animal.addPart("狭长的眼睛");
    }

    void nose() {
        animal.addPart("只有鼻孔");
    }

    void mouth() {
        animal.addPart("长长的毒雅");
    }

    void bodyLength() {
        animal.addPart("50里面长");
    }

    void color() {
        animal.addPart("红黑相间");
    }

    Snake getResult() {
        return animal;
    }
}
